<?php
/**
 * Created by PhpStorm.
 * User: lhuan
 * Date: 2019/11/7
 * Time: 20:08
 */
namespace app\index\controller;

use app\index\controller\Index;
use app\index\model\Article;
use app\index\model\Config;
use think\Controller;

class Conf extends Index
{
    public function index()
    {
        return ajax_return(200,'success',Config::getConfigs());
    }

    public function modify()
    {
        return ajax_return(200,'success',Config::modify(input('param.')));
    }
}